const userServices = require("../services/user.services")

class UserController {
  async create(req, res, next) {
    // console.log("req.body", req.body)
    const user = req.body;

    const result = await userServices.create(user);
    console.log(result, "result")
    // res.send("用户登录成功")
    res.json(result)

    // 获取参数


    // 查询数据

    // 逻辑判断


    // 返回数据
  }
}


module.exports = new UserController()